package com.my.chapter7;

public class practice8 {
    public static void main(String[] args) {
        Type1 t1 = new Type1();
        Type1 t2 = new Type1(6);
    }
}

class Type{
    public Type(int i){
        System.out.println("Type constructor"+i);
    }
}

class Type1 extends Type{
    public Type1(){
        super(3);
    }

    public Type1(int i) {
        super(i);
    }
}

